{extend name="admin/layout" /}
{block name="main"}
<div id="main-container">
    <div id="breadcrumb">
        <ul class="breadcrumb">
            <li><i class="fa fa-home"></i><a href="/"> 首页</a></li>
            <li><i class="fa fa-desktop"></i><a href="{:url('index')}"> 控制面板</a></li>
            <li class="active">API管理</li>
        </ul>
    </div>
    <div class="main-header clearfix">
        <div class="page-title">
            <h3 class="no-margin">API管理</h3>
        </div>
    </div>
    <div class="padding-md">
        <div class="row">
            <div class="col-lg-12">
                <div class="panel panel-primary">
                    <div class="panel-heading">
                        API信息
                    </div>
                    <div class="panel-body">
                        <div class="list-group-item list-group-item-success text-center">APIKEY：<button class="btn btn-primary" onclick="alert('暂未开放');">点此申请</button>
						</div>
						<div class="list-group-item list-group-item-info">
							API地址：http://{$_SERVER['HTTP_HOST']}/api/submit.php
						</div>
                    </div>
                </div>
            </div>
            <div class="col-lg-12">
                <div class="panel panel-warning table-responsive">
                    <div class="panel-heading">
                        API使用
                    </div>
                    <div class="panel-body table-responsive">
                        暂无
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}